<h1>Register User Account</h1>
{{message}}
<br>

<label for="name">Name</label><input type="text" name="name" ng-model="name" /><br>
<label for="email">E-Mail</label><input type="text" name="email" ng-model="email" /><br>
<label for="password">Password</label><input type="password" name="password" ng-model="password" /><br>
<label for="password_confirmation">Confirm Password</label><input type="password" name="password_confirmation" ng-model="password_confirmation" /><br>

<input type="button" value="Register" ng-click="register(name,email,password,password_confirmation)" />

<ul>
 <li ng-repeat="error in errors">{{error}}</li>
</ul>

